﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SportStore.Models.Abstract;
using SportStore.Models.Entities;

namespace SportStore.Models.Concrete
{
    public class FictiveRepository
    {
        private static IQueryable<Product> products = new List<Product> {
            new Product { Name="Football", Price=25 },
            new Product { Name="Surf board",Price=179 },
            new Product { Name="Running shoes",Price=95 }
        }.AsQueryable();


        public IQueryable<Product> Products
        {
            get { return products; }
        }


        public void SaveProduct(Product product)
        {
            throw new NotImplementedException();
        }


        public void DeleteProduct(Product product)
        {
            throw new NotImplementedException();
        }
    }
}